package com.tedu.ivos.autit.mapper;

import com.tedu.ivos.autit.pojo.dto.AuditQuery;
import com.tedu.ivos.autit.pojo.entity.Audit;
import com.tedu.ivos.autit.pojo.vo.AuditVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuditMapper {

    void insertAudit(Audit audit);

    List<AuditVO> selectAuditByAppId(Long id);

    void delete(Long applicationId);

    List<AuditVO> select(AuditQuery auditQuery);

    void update(Audit audit);

    Integer selectRestAuditCount(AuditQuery auditQuery);

    void deleteById(Long id);
}
